services.restic.backups.<name>.exclude

Patterns to exclude when backing up. See https://restic.readthedocs.io/en/stable/040_backup.html#excluding-files for details on syntax.

This option is only supported on linux.

Type
list of string
Default
[ ]
Example
[
  "/var/cache"
  "/home/*/.cache"
  ".git"
]
Declared
<home-manager/modules/services/restic.nix>